LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-02-2011, 12:17 PM   #16
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247

Quote:
Originally Posted by Robert.Thompson View Post
I should reboot now?
Yup! If you want to continue the system rebuilding.

Also, another question: you have a external harddrive for /home 9G data? We can do only with the internal partitions, BUT an external harddrive can help and simplify the job.
 
Old 03-02-2011, 12:22 PM   #17
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by Darth Vader View Post
Yup! If you want to continue the system rebuilding.

Also, another question: you have a external harddrive for /home 9G data? We can do only with the internal partitions, BUT an external harddrive can help and simplify the job.
I have separate images for both root (sda7) and home (sda8) living on an external USB hard drive.

When I reboot will I be able to get back here or do I need another PC?
 
Old 03-02-2011, 12:28 PM   #18
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Robert.Thompson View Post
I have separate images for both root (sda7) and home (sda8) living on an external USB hard drive.

When I reboot will I be able to get back here or do I need another PC?
If you executed all commands like I said, you will be back safely. This time, only we reformated the windows partitions.

BUT inspect the /etc/lilo.conf to verify the parameter

Code:
boot = /dev/sda
To be a little 'paranoid', rerun lilo before reboot.
 
Old 03-02-2011, 12:41 PM   #19
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Hi Darth:

I am back - it booted just like normal.
 
Old 03-02-2011, 12:42 PM   #20
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Robert.Thompson View Post
Hi Darth:

I am back - it booted just like normal.
Perfect! Giv'me the

Code:
df -h
AND the Linux entry from /etc/lilo.conf

Last edited by Darth Vader; 03-02-2011 at 12:44 PM.
 
Old 03-02-2011, 12:44 PM   #21
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by Darth Vader View Post
Perfect! Giv'me the

Code:
df -h
Here it is:
Code:
bash-4.1$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/root              39G  8.1G   29G  23% /
/dev/sda8              81G  8.9G   68G  12% /home
tmpfs                 1.5G  296K  1.5G   1% /dev/shm
bash-4.1$
 
Old 03-02-2011, 12:46 PM   #22
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Robert.Thompson View Post
Here it is:
Code:
bash-4.1$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/root              39G  8.1G   29G  23% /
/dev/sda8              81G  8.9G   68G  12% /home
tmpfs                 1.5G  296K  1.5G   1% /dev/shm
bash-4.1$
You uncommented the sda1 and sda2 entries on /etc/fstab and you changed their filesystem from ntfs to ext4?
 
Old 03-02-2011, 12:48 PM   #23
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by Darth Vader View Post
You uncommented the sda1 and sda2 entries on /etc/fstab and you changed their filesystem from ntfs to ext4?
Yes, I just looked and they are correct.
 
Old 03-02-2011, 12:49 PM   #24
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Robert.Thompson View Post
Yes, I just looked and they are correct.
Let's see the content of /etc/fstab.
 
Old 03-02-2011, 12:52 PM   #25
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by Darth Vader View Post
Let's see the content of /etc/fstab.
Here it is:
Code:
/dev/sda3        swap             swap        defaults         0   0
/dev/sda7        /                ext4        defaults         1   1
/dev/sda8        /home            ext4        defaults         1   2
/dev/sda1        /winxp           ext4        umask=077        1   0
/dev/sda2        /windata         ext4        umask=000        1   0
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
 
Old 03-02-2011, 12:55 PM   #26
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Robert.Thompson View Post
Here it is:
Code:
/dev/sda3        swap             swap        defaults         0   0
/dev/sda7        /                ext4        defaults         1   1
/dev/sda8        /home            ext4        defaults         1   2
/dev/sda1        /winxp           ext4        umask=077        1   0
/dev/sda2        /windata         ext4        umask=000        1   0
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
Change to

Code:
/dev/sda3        swap             swap        defaults         0   0
/dev/sda7        /                ext4        defaults         1   1
/dev/sda8        /home            ext4        defaults         1   2
/dev/sda1        /winxp           ext4        defaults         1   2
/dev/sda2        /windata         ext4        defaults         1   2
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
AND, let's see what say the command:

Code:
mount -a
and, again

Code:
df -h
 
Old 03-02-2011, 01:08 PM   #27
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Here it is:

Code:
root@darkstar:/# mount -a
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

mount: wrong fs type, bad option, bad superblock on /dev/sda2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

mount: devpts already mounted or /dev/pts busy
Code:
root@darkstar:/# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/root              39G  8.1G   29G  23% /
/dev/sda8              81G  8.9G   68G  12% /home
tmpfs                 1.5G  296K  1.5G   1% /dev/shm
root@darkstar:/#
 
Old 03-02-2011, 01:11 PM   #28
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Robert.Thompson View Post
Here it is:

Code:
root@darkstar:/# mount -a
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

mount: wrong fs type, bad option, bad superblock on /dev/sda2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

mount: devpts already mounted or /dev/pts busy
Looks like you missed the formatting of sda1 and sda2 as ext4fs. You should do:

Code:
mkfs.ext4 /dev/sda1
mkfs.ext4 /dev/sda2
and repeat the circle (mount -a / df -h)
 
Old 03-02-2011, 01:21 PM   #29
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
I think that I did do it. Attached is a snap shot of the KDE Partition Manager.

Should I do it again?
Attached Thumbnails
Click image for larger version

Name:	kde parted.png
Views:	14
Size:	80.7 KB
ID:	6286  
 
Old 03-02-2011, 01:25 PM   #30
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Robert.Thompson View Post
Should I do it again?
Sadly, looks like the right idea ... Do it again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gobject-introspection-0.6.14 build blowing up ninja master Linux - Software 1 12-31-2010 01:02 AM
[SOLVED] Before Install: Slackware over Ubuntu (Grub to LILO), Dual w/Vista: LILO question Ubunoob001 Slackware - Installation 3 03-01-2010 03:01 PM
Lilo Question: Windows from a non-standard partition failure_man Slackware 13 12-12-2004 11:38 AM
Fedora FC2 blowing up... JordanH Fedora 2 08-27-2004 04:33 PM
Completely Mind Blowing..... xtox General 6 09-09-2003 07:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration