VectorLinux
October 22, 2014, 03:45:32 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: 5.9 On A Flash Drive ( Second Try)  (Read 5211 times)
gacl
Vectorite
***
Posts: 218



« on: June 23, 2008, 06:40:17 pm »

Hellu, Knowledgable People,

     Last January i tried in vain to create a bootable VL installer for 5.9 Standard ( http://www.vectorlinux.com/forum2/index.php?PHPSESSID=a4b2e5f40bc9c4e671c38e41e2c61b14&topic=5301.0). I just can't get it to work. This is what i've done:

- Downloaded VL5.9-STD-Gold.iso and checked the sum
- mount -o loop /VL5.9-STD-Gold.iso /mnt/cdrom
- Created sda1 in sda with cfdisk
- mkdosfs -F 32 /dev/sda1
- rsync -av --delete /mnt/cdrom/ /mnt/vl-hot/sda/vol1/
- diff -r /mnt/cdrom /mnt/vl-hot/sda/vol1
- Moved isolinux/isolinux.cfg to syslinux.cfg
- Modified the paths inside syslinux.cfg
- lilo -M /dev/sda
- umount /dev/sda1
- syslinux /dev/sda1

Just like before i get "Boot failed".

I have a working 5.8 Live/Installer USB flash drive. There is nothing wrong with the computers.

- I also tried syslinux -s /dev/sda1

Nothing. . .

Thanks

Gus
« Last Edit: June 23, 2008, 07:28:14 pm by gacl » Logged

“Our very lives depend on the ethics of strangers, and most of us are always strangers to other people.” -- Bill Moyers
gacl
Vectorite
***
Posts: 218



« Reply #1 on: June 23, 2008, 07:00:38 pm »

The syslinux.cfg file:

Code:
default isolinux/kernel/sata initrd=isolinux/initrd.img load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=18000 rw root=/dev/ram
prompt 1
timeout 150
display isolinux/message.txt
F1 isolinux/f1.txt
label linux
  kernel isolinux/kernel/sata
  append initrd=isolinux/initrd.img load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=18000 rw root=/dev/ram
label sata
  kernel isolinux/kernel/sata2
  append initrd=isolinux/initrd.img load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=18000 rw root=/dev/ram
label linux2
  kernel isolinux/kernel/sata
  append initrd=isolinux/initrd.new load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=32000 rw root=/dev/ram
label sata2
  kernel isolinux/kernel/sata2
  append initrd=isolinux/initrd.new load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=32000 rw root=/dev/ram

Checking initrd.img and sata:

Code:
vector://mnt/cdrom
root:# md5sum isolinux/initrd.img
6f8b5646f96a2af954008ed5414ce407  isolinux/initrd.img
vector://mnt/cdrom
root:# md5sum /mnt/vl-hot/sda/vol1/isolinux/initrd.img
6f8b5646f96a2af954008ed5414ce407  /mnt/vl-hot/sda/vol1/isolinux/initrd.img
vector://mnt/cdrom
root:# ls isolinux/kernel
KERNEL.TXT  sata
vector://mnt/cdrom
root:# md5sum isolinux/kernel/sata
f54c25780b9153e3cd692958a4e0694a  isolinux/kernel/sata
vector://mnt/cdrom
root:# md5sum /mnt/vl-hot/sda/vol1/isolinux/kernel/sata
f54c25780b9153e3cd692958a4e0694a  /mnt/vl-hot/sda/vol1/isolinux/kernel/sata
Logged

“Our very lives depend on the ethics of strangers, and most of us are always strangers to other people.” -- Bill Moyers
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #2 on: June 23, 2008, 07:43:28 pm »

grab this http://ftp://ftp.slax.org/Linux-Live/linux-live-6.2.4.tar.gz

copy the syslinux folder from the cd-root/boot to the flash drive and the bootinst.sh file
replace the syslinux.cfg file and then run bootinst.sh from the flash drive
Logged
gacl
Vectorite
***
Posts: 218



« Reply #3 on: June 24, 2008, 09:55:59 am »

Thanks.

It gives me this:

Code:
Flushing filesystem buffers, this may take a while...
Setting up MBR on /dev/vl-hot/sdb...
bootinst.sh: line 53: ./boot/syslinux/lilo: Permission denied

I tried to chmod +x boot/syslinux/lilo but it won't let me:

Code:
vector://mnt/vl-hot/sdb/vol1
root:# ls -l boot/syslinux
total 160
-rw-rw-rw- 1 root users 70196 2008-06-24 13:46 lilo
-rw-rw-rw- 1 root users   404 2008-06-24 13:46 mbr.bin
-rw-rw-rw- 1 root users 22660 2008-06-24 13:46 syslinux
-rw-rw-rw- 1 root users   243 2008-06-24 13:46 syslinux.cfg
-rw-rw-rw- 1 root users 19608 2008-06-24 13:46 syslinux.com
-rw-rw-rw- 1 root users 24576 2008-06-24 13:46 syslinux.exe
vector://mnt/vl-hot/sdb/vol1
root:# chmod +x boot/syslinux/syslinux
vector://mnt/vl-hot/sdb/vol1
root:# ls -l boot/syslinux
total 160
-rw-rw-rw- 1 root users 70196 2008-06-24 13:46 lilo
-rw-rw-rw- 1 root users   404 2008-06-24 13:46 mbr.bin
-rw-rw-rw- 1 root users 22660 2008-06-24 13:46 syslinux
-rw-rw-rw- 1 root users   243 2008-06-24 13:46 syslinux.cfg
-rw-rw-rw- 1 root users 19608 2008-06-24 13:46 syslinux.com
-rw-rw-rw- 1 root users 24576 2008-06-24 13:46 syslinux.exe

The flash drive is mounted automatically by Vector:

Code:
vector://mnt/vl-hot/sdb/vol1
root:# mount
/dev/hda1 on / type reiserfs (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw,devgid=10,devmode=0666)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sdb1 on /mnt/vl-hot/sdb/vol1 type vfat (rw,nosuid,nodev,noatime,uid=0,gid=100,fmask=0111,dmask=0000,quiet,shortname=mixed,codepage=437,iocharset=iso8859-15)
Logged

“Our very lives depend on the ethics of strangers, and most of us are always strangers to other people.” -- Bill Moyers
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #4 on: June 24, 2008, 11:01:40 am »

it works for me here but i am mounting the drive myself.

try unmounting the drive and remounting it yourself
Logged
exeterdad
Packager
Vectorian
****
Posts: 2046



« Reply #5 on: June 24, 2008, 11:05:25 am »

You can't do permissions on vfat right?  Or am I misreading?
Logged
gacl
Vectorite
***
Posts: 218



« Reply #6 on: June 24, 2008, 12:19:29 pm »

Yeah, i guess the problem is not permissions. . . ? See here: http://edge-op.org/grouch/fatperm.html

I unmounted, mount -t vfat /dev/sdb1 /mnt/linux, and i tried bootinst.sh again and i got this:

Code:
Flushing filesystem buffers, this may take a while...
Setting up MBR on /dev/sdb...
The Master Boot Record of  /dev/sdb  has been updated.
Activating partition /dev/sdb1...
No partition table modifications are needed.
Updating MBR on /dev/sdb...
Setting up boot record for /dev/sdb1...
/dev/sdb1: this doesn't look like a valid FAT filesystem

Then i did:

Code:
root:# dosfsck /dev/sdb1
dosfsck 2.10, 22 Sep 2003, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
  1:3c/58, 3:53/6d, 4:59/6b, 5:53/64, 6:4c/6f, 7:49/73, 8:4e/66, 9:55/73
  , 10:58/00, 62:fa/00, 63:fc/00, 64:31/00, 65:c0/00, 66:8e/29, 67:d0/19
  , 68:bc/f8, 69:b4/5f, 70:7b/48, 71:8e/20, 72:c0/20, 73:b9/20, 74:08/20
  , 75:00/20, 76:89/20, 77:e7/20, 78:f3/20, 79:a5/20, 80:8e/20, 81:d8/20
  , 82:88/46, 83:55/41, 84:60/54, 85:bb/33, 86:78/32, 87:00/20, 88:0f/20
  , 89:b4/20, 90:37/0e, 91:0f/1f, 92:a0/be, 93:56/77, 94:20/7c, 95:d2/ac
  , 96:78/22, 97:15/c0, 98:b1/74, 99:06/0b, 100:89/56, 101:3f/b4, 102:89/0e
  , 103:47/bb, 104:02/07, 105:64/00, 106:f3/cd, 107:a5/10, 108:8a/5e
  , 109:0e/eb, 110:18/f0, 111:7c/32, 112:88/e4, 113:4d/cd, 114:f8/16
  , 116:13/19, 118:27/fe, 119:f6/54, 120:45/68, 121:f0/69, 122:7f/73
  , 123:75/20, 124:08/69, 125:66/73, 126:8b/20, 127:45/6e, 128:f8/6f
  , 129:66/74, 130:a3/20, 131:1c/61, 132:7c/20, 133:b4/62, 134:08/6f
  , 135:cd/6f, 136:13/74, 137:72/61, 138:13/62, 139:20/6c, 140:e4/65
  , 141:75/20, 142:0f/64, 143:c1/69, 144:ea/73, 145:08/6b, 146:42/2e
  , 147:89/20, 148:16/20, 149:1a/50, 150:7c/6c, 151:83/65, 152:e1/61
  , 153:3f/73, 154:89/65, 155:0e/20, 156:18/69, 157:7c/6e, 158:fb/73
  , 159:66/65, 160:31/72, 161:c0/74, 162:8e/20, 163:c0/61, 164:be/20
  , 165:0b/62, 166:7c/6f, 167:bf/6f, 168:b0/74, 169:56/61, 170:b1/62
  , 171:10/6c, 172:ad/65, 173:4e/20, 175:ab/6c, 176:30/6f, 177:e4/70
  , 178:66/70, 179:ab/79, 180:e2/20, 181:f6/61, 182:a1/6e, 183:dc/64
  , 184:56/0d, 185:66/0a, 186:8b/70, 187:55/72, 188:d8/65, 189:66/73
  , 190:f7/73, 191:e2/20, 192:66/61, 193:03/6e, 194:06/79, 195:1c/20
  , 196:7c/6b, 197:66/65, 198:03/79, 199:45/20, 200:98/74, 201:66/6f
  , 202:a3/20, 203:30/74, 204:57/72, 205:66/79, 206:a3/20, 207:34/61
  , 208:57/67, 209:66/61, 210:50/69, 211:66/6e, 212:8b/20, 213:45/2e
  , 214:b0/2e, 215:c1/2e, 216:e0/20, 217:05/0d, 218:8b/0a, 219:5d/00
  , 220:80/00, 221:01/00, 222:d8/00, 223:48/00, 224:f7/00, 225:f3/00
  , 226:a3/00, 227:38/00, 228:57/00, 229:a3/00, 230:3a/00, 231:57/00
  , 232:81/00, 233:c3/00, 234:e1/00, 235:0f/00, 236:89/00, 237:5d/00
  , 238:0c/00, 239:66/00, 240:01/00, 241:45/00, 242:04/00, 243:66/00
  , 244:58/00, 245:66/00, 246:50/00, 247:bb/00, 249:10/00, 250:53/00
  , 251:e8/00, 252:82/00, 254:5e/00, 255:b9/00, 256:0b/00, 258:38/00
  , 259:2c/00, 260:74/00, 261:1c/00, 262:bf/00, 263:ef/00, 264:7d/00
  , 265:56/00, 266:f3/00, 267:a6/00, 268:5e/00, 269:74/00, 270:2e/00
  , 271:83/00, 272:c6/00, 273:20/00, 274:3b/00, 275:36/00, 276:3c/00
  , 277:57/00, 278:72/00, 279:e7/00, 280:66/00, 281:58/00, 282:66/00
  , 283:40/00, 284:ff/00, 285:0e/00, 286:3a/00, 287:57/00, 288:75/00
  , 289:d3/00, 290:31/00, 291:f6/00, 292:8e/00, 293:d6/00, 294:bc/00
  , 295:b0/00, 296:7b/00, 297:8e/00, 298:de/00, 299:66/00, 300:8f/00
  , 301:06/00, 302:78/00, 304:be/00, 305:e0/00, 306:7d/00, 307:e8/00
  , 308:36/00, 310:98/00, 311:cd/00, 312:16/00, 313:cd/00, 314:19/00
  , 315:eb/00, 316:fe/00, 317:66/00, 318:a1/00, 319:c4/00, 320:56/00
  , 321:89/00, 322:c5/00, 323:66/00, 324:0f/00, 325:b7/00, 326:5c/00
  , 327:1a/00, 328:89/00, 329:1e/00, 330:92/00, 331:57/00, 332:4b/00
  , 333:4b/00, 334:66/00, 335:f7/00, 336:e3/00, 337:66/00, 338:03/00
  , 339:06/00, 340:34/00, 341:57/00, 342:bb/00, 344:7e/00, 345:e8/00
  , 346:27/00, 348:be/00, 349:ef/00, 350:7d/00, 351:bf/00, 352:1f/00
  , 353:7e/00, 354:b9/00, 355:11/00, 357:f3/00, 358:a6/00, 359:75/00
  , 360:b9/00, 361:e9/00, 362:c8/00, 364:ac/00, 365:20/00, 366:c0/00
  , 367:74/00, 368:09/00, 369:b4/00, 370:0e/00, 371:bb/00, 372:07/00
  , 374:cd/00, 375:10/00, 376:eb/00, 377:f2/00, 378:c3/00, 379:4e/00
  , 380:74/00, 381:a4/00, 382:eb/00, 383:33/00, 384:bd/00, 385:01/00
  , 387:66/00, 388:8b/00, 389:36/00, 390:18/00, 391:57/00, 392:66/00
  , 393:31/00, 394:d2/00, 395:66/00, 396:f7/00, 397:f6/00, 398:31/00
  , 399:c9/00, 400:87/00, 401:ca/00, 402:66/00, 403:f7/00, 404:36/00
  , 405:28/00, 406:57/00, 407:56/00, 408:55/00, 409:bd/00, 410:01/00
  , 412:50/00, 413:52/00, 414:51/00, 415:c0/00, 416:e4/00, 417:06/00
  , 418:59/00, 419:51/00, 420:41/00, 421:08/00, 422:e1/00, 423:88/00
  , 424:c5/00, 425:88/00, 426:d6/00, 427:8a/00, 428:16/00, 429:24/00
  , 430:7c/00, 431:95/00, 432:be/00, 433:06/00, 435:60/00, 436:b4/00
  , 437:02/00, 438:cd/00, 439:13/00, 440:61/00, 441:72/00, 442:c0/00
  , 443:59/00, 444:89/00, 445:c7/00, 446:f7/00, 447:26/00, 448:0b/00
  , 449:7c/00, 450:01/00, 451:c3/00, 452:5a/00, 453:58/00, 454:5d/00
  , 455:5e/00, 456:29/00, 457:fd/00, 458:74/00, 459:ae/00, 460:01/00
  , 461:f9/00, 462:39/00, 463:f1/00, 464:72/00, 465:c5/00, 466:42/00
  , 467:3b/00, 468:16/00, 469:1a/00, 470:7c/00, 471:72/00, 472:03/00
  , 473:40/00, 474:31/00, 475:d2/00, 476:29/00, 477:f1/00, 478:eb/00
  , 479:b7/00, 480:42/00, 481:6f/00, 482:6f/00, 483:74/00, 484:20/00
  , 485:66/00, 486:61/00, 487:69/00, 488:6c/00, 489:65/00, 490:64/00
  , 491:0d/00, 492:0a/00, 495:4c/00, 496:44/00, 497:4c/00, 498:49/00
  , 499:4e/00, 500:55/00, 501:58/00, 502:20/00, 503:53/00, 504:59/00
  , 505:53/00, 506:bb/00, 507:77/00, 508:bf/00, 509:41/00
1) Copy original to backup
2) Copy backup to original
3) No action
?

Please don't tell me the drive is bad!

Gus
Logged

“Our very lives depend on the ethics of strangers, and most of us are always strangers to other people.” -- Bill Moyers
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #7 on: June 24, 2008, 12:29:07 pm »

i doubt the drive is bad.
fsck is just telling you the boot sector is not the same as the copy it had backed up.
you just overwrote it in the prior step so it wouldnt be the same.

is there any way you can try formatting the drive from windows?
Logged
gacl
Vectorite
***
Posts: 218



« Reply #8 on: June 24, 2008, 01:57:34 pm »

Yes, i could use my friend's computer.
Logged

“Our very lives depend on the ethics of strangers, and most of us are always strangers to other people.” -- Bill Moyers
gacl
Vectorite
***
Posts: 218



« Reply #9 on: July 02, 2008, 02:17:47 pm »

OK, i did it. . . but i did so many things that i'm not even sure what was it that solved the problem. In the end i switched to a different flash drive (OCZ; A-Data before), i formated with ext3, extlinux, played around with the BIOS - it has _lots_ of options like USB CDD, USB ZIP, and such - , and some other things. So, i installed it in my CF-T5 and it works beautifully (with the exception of the touchscreen).
Logged

“Our very lives depend on the ethics of strangers, and most of us are always strangers to other people.” -- Bill Moyers
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!