Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread spiky
On Sun, 2011-11-13 at 01:26 +, Andrew Benton wrote: On Sat, 12 Nov 2011 22:53:11 + spiky martynvid...@aol.com wrote: I have built lfs7 with linux 3.1rc4. I cant boot it when on sdc. If drive is put in laptop on IDE it will boot. I have set the fstab grub.cfg in lots of

Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread Andrew Benton
On Sun, 13 Nov 2011 10:36:34 + spiky martynvid...@aol.com wrote: Ok I used grub prompt it showed the usb drive hd0,msdos1(LFS-7.0),2(swap),3(home). then entered set root=(hd0,msdos) linux /boot/vmlinux-3.1-7.0 (it found with tab)root=/devsda1 boot i get no filesystem could mount root

Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread spiky
On 13/11/11 11:50, Andrew Benton wrote: On Sun, 13 Nov 2011 10:36:34 + spikymartynvid...@aol.com wrote: Ok I used grub prompt it showed the usb drive hd0,msdos1(LFS-7.0),2(swap),3(home). then entered set root=(hd0,msdos) linux /boot/vmlinux-3.1-7.0 (it found with tab)root=/devsda1

RE: built LFS7 wont boot from usb harddrive

2011-11-13 Thread Alain Toussaint
hd0,msdos1(LFS-7.0),2(swap),3(home). ^^ Could it be that the partition is FAT32 instead of ext(2,3,4)? Alain -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread spiky
On 13/11/11 12:36, Alain Toussaint wrote: hd0,msdos1(LFS-7.0),2(swap),3(home). ^^ Could it be that the partition is FAT32 instead of ext(2,3,4)? Alain I formatted the partition with gparted to ext4 swap is swap home ext4 Martyn --

Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread spiky
On 13/11/11 12:38, spiky wrote: On 13/11/11 12:36, Alain Toussaint wrote: hd0,msdos1(LFS-7.0),2(swap),3(home). ^^ Could it be that the partition is FAT32 instead of ext(2,3,4)? Alain I formatted the partition with gparted to ext4 swap is swap home ext4 Martyn Ok I have

Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread Bruce Dubbs
Andrew Benton wrote: On Sun, 13 Nov 2011 10:36:34 + spiky martynvid...@aol.com wrote: Ok I used grub prompt it showed the usb drive hd0,msdos1(LFS-7.0),2(swap),3(home). then entered set root=(hd0,msdos) That seems right. The msdos part is the boot record type, not a partition type,

Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread spiky
On 13/11/11 17:12, Bruce Dubbs wrote: Andrew Benton wrote: On Sun, 13 Nov 2011 10:36:34 + spikymartynvid...@aol.com wrote: Ok I used grub prompt it showed the usb drive hd0,msdos1(LFS-7.0),2(swap),3(home). then entered set root=(hd0,msdos) That seems right. The msdos part is the boot

Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread spiky
On 13/11/11 17:12, Bruce Dubbs wrote: Andrew Benton wrote: On Sun, 13 Nov 2011 10:36:34 + spikymartynvid...@aol.com wrote: Ok I used grub prompt it showed the usb drive hd0,msdos1(LFS-7.0),2(swap),3(home). then entered set root=(hd0,msdos) That seems right. The msdos part is the boot

Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread Bruce Dubbs
spiky wrote: If I was to go back to ext3 would that mean a complete rebuild or is it possible to use gparted? Create a new partition mkfs -t ext3 /dev/sda? mount /dev/sda? /mnt mkdir /mnt/{bin,dev,home,lib,mnt,proc,sys,usr} mkdir /mnt/{boot,etc,media,opt,root,sbin,srv,tmp,var} for d in bin

Re: built LFS7 wont boot from usb harddrive

2011-11-13 Thread Matijn Woudt
On Sun, Nov 13, 2011 at 7:24 PM, Bruce Dubbs bruce.du...@gmail.com wrote: spiky wrote: If I was to go back to ext3 would that mean a complete rebuild or is it possible to use gparted? Create a new partition mkfs -t ext3 /dev/sda? mount /dev/sda? /mnt mkdir

built LFS7 wont boot from usb harddrive

2011-11-12 Thread spiky
I have built lfs7 with linux 3.1rc4. I cant boot it when on sdc. If drive is put in laptop on IDE it will boot. I have set the fstab grub.cfg in lots of different ways still no joy, grub.cfg # Begin /boot/grub/grub.cfg set default=0 set timeout=5 insmod ext2 set root=(hd2,1) menuentry

Re: built LFS7 wont boot from usb harddrive

2011-11-12 Thread Bruce Dubbs
spiky wrote: I have built lfs7 with linux 3.1rc4. I cant boot it when on sdc. If drive is put in laptop on IDE it will boot. I have set the fstab grub.cfg in lots of different ways still no joy, grub.cfg # Begin /boot/grub/grub.cfg set default=0 set timeout=5 insmod ext2 set

Re: built LFS7 wont boot from usb harddrive

2011-11-12 Thread spiky
On 12/11/11 23:17, Bruce Dubbs wrote: spiky wrote: I have built lfs7 with linux 3.1rc4. I cant boot it when on sdc. If drive is put in laptop on IDE it will boot. I have set the fstab grub.cfg in lots of different ways still no joy, grub.cfg # Begin /boot/grub/grub.cfg set default=0 set

Re: built LFS7 wont boot from usb harddrive

2011-11-12 Thread Bruce Dubbs
spiky wrote: I have tried setting root to hd0,1 and setting boot to sda1 just incase it looked at it as the 1st boot option, I,m not sure it is a grub fault as when I ran grub update from Ubuntu it still wont boot. When you say get the command line to recognise the usb it appears in

Re: built LFS7 wont boot from usb harddrive

2011-11-12 Thread Andrew Benton
On Sat, 12 Nov 2011 22:53:11 + spiky martynvid...@aol.com wrote: I have built lfs7 with linux 3.1rc4. I cant boot it when on sdc. If drive is put in laptop on IDE it will boot. I have set the fstab grub.cfg in lots of different ways still no joy, grub.cfg # Begin /boot/grub/grub.cfg